package com.loe.ui.api

import android.view.View
import com.loe.ui.page.UiPage
import com.quickjs.JSObject

/**
 * UiView节点接口
 *
 * @author 章路顺
 * @since 2022/6/30-22:27
 */
interface IUiView
{
    val jsObject: JSObject

    fun setUI(ui: JSObject, uiPage: UiPage? = null): View

    var onSelect: (() -> Unit)?
}